package sd.rmi.auction.interfaces;
import java.rmi.Remote;
import java.rmi.*;
import sd.rmi.auction.client.ClientProxy;

public interface IAuction extends Remote {
	public void setBid(int bid) throws RemoteException; //offerta
	public int getCurrentBid() throws RemoteException; //ottengo il prezzo
	public String getProduct() throws RemoteException; //ottengo il nome del prodotto
	public void registerForNotification(INotifiable n) throws RemoteException; //mi registro al server, in modo da essere avvisato se la mia offerta � stata superata
}